package com.springcloud.log.feign;

import com.springcloud.commom.api.R;
import com.springcloud.log.entity.SysOpLog;
import com.springcloud.log.entity.SysVisLog;
import org.springframework.stereotype.Component;

@Component
public class LogClientFallback implements ILogClient{

    @Override
    public R saveVisLog(SysVisLog sysVisLog) {
        return R.fail("数据错误!");
    }

    @Override
    public R<String> saveOpLog(SysOpLog sysOpLog) {
        return R.fail("数据错误!");
    }
}
